package com.zz.inventory.domain;
import java.math.BigDecimal;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 套餐配置管理对象 franchise_packages
 * 
 * @author zz
 * @date 2025-07-03
 */
public class FranchisePackages extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 套餐ID */
    private Long packageId;

    /** 套餐名称（如"年度基础版"、"年度高级版"） */
    @Excel(name = "套餐名称", readConverterExp = "如=\"年度基础版\"、\"年度高级版\"")
    private String packageName;

    /** 年度费用金额 */
    @Excel(name = "年度费用金额")
    private BigDecimal feeAmount;

    /** 服务年限（1年/2年/3年） */
    @Excel(name = "服务年限", readConverterExp = "1=年/2年/3年")
    private Long serviceYears;

    /** 套餐服务内容描述 */
    @Excel(name = "套餐服务内容描述")
    private String description;

    /** 套餐状态 */
    @Excel(name = "套餐状态")
    private String status;


    private Integer school;    //用于接收学校ID

    public Integer getSchool() {
        return school;
    }

    public void setSchool(Integer school) {
        this.school = school;
    }

    public void setPackageId(Long packageId)
    {
        this.packageId = packageId;
    }

    public Long getPackageId() 
    {
        return packageId;
    }

    public void setPackageName(String packageName) 
    {
        this.packageName = packageName;
    }

    public String getPackageName() 
    {
        return packageName;
    }

    public void setFeeAmount(BigDecimal feeAmount) 
    {
        this.feeAmount = feeAmount;
    }

    public BigDecimal getFeeAmount() 
    {
        return feeAmount;
    }

    public void setServiceYears(Long serviceYears) 
    {
        this.serviceYears = serviceYears;
    }

    public Long getServiceYears() 
    {
        return serviceYears;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("packageId", getPackageId())
            .append("packageName", getPackageName())
            .append("feeAmount", getFeeAmount())
            .append("serviceYears", getServiceYears())
            .append("description", getDescription())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
